{% extends 'base.html' %}
{% block body %}
    <form action="/information/Z2_handler/" method="post" enctype="multipart/form-data">
        主题:<input type="text" name="title"><br>
        <p>内容:
            <textarea rows="10" cols="20" name="content"></textarea></p>
	    分类:
        <select name='typename'>
            {% for type in types %}
		        <option value="{{ type.id }}">{{ type.typename }}</option>
		    {% endfor %}
	    </select>
	查看权限:
        <select name='power'>
		    <option value="1">1</option>
		    <option value="2">2</option>
	    </select>
        <label for="file">文件名:</label>
        <input type="file" name="file" />
        <button type="submit">发布</button>
    </form>
{% endblock %}